import { IPSWFStartProcess } from './ipswfstart-process';
import { PSWFProcessImpl } from './pswfprocess-impl';

export class StartPSWFProcessImpl extends PSWFProcessImpl implements IPSWFStartProcess {
  get formCodeName(): string {
    return this.M.formCodeName;
  }

  get mobFormCodeName(): string {
    return this.M.mobFormCodeName;
  }

  get startProcess(): boolean {
    return this.M.startProcess;
  }

  get cls(): string {
    return 'StartPSWFProcessImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'wf.IPSWFStartProcess') return true;
    return super.instanceof(cls);
  }
}
